package com.longdaji.decoration.ui.login.codeLogin;

import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;

/**
 * Created by Kanade on 2018/3/12 0012.
 */

public interface CodeLoginContract {
    interface IView extends BaseView {

        void showIllegalTelephone();

        void showTelephoneVerifyFailed();

        void showSendVerification(boolean isSuccess);

        void calculateTime();
    }

    interface IPresenter extends BasePresenter<IView> {
        void onGetCodeClick(String telephone);

        void onConfirmClick(String code);
    }
}
